package com.bsoft.gol.hcs.visitrecord.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 手术记录
 * Created by ChenJij on 2020/9/4.
 */
@Entity
@Table(name = "vr_surgical_record")
public class VrSurgicalRecord implements Serializable {
    private String operationRecordId;
    private String operationNumber;
    private String inHospitalRecordCode;
    /**
     * 业务类型代码 1门诊、2住院
     */
    private String businessType;
    /**
     * 业务记录号
     */
    private String businessId;
    /**
     * 就诊流水号
     */
    private String visitId;
    private String patientId;
    private String patientName;
    private String patientSex;
    private Byte patientAge;
    private String patientAgeText;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh_CN", timezone = "GMT+8")
    private Date patientBirthday;
    private String cardType;
    private String cardNumber;
    private String patientMedicalCardType;
    private String patientMedicalCardNumber;
    private String telephone;
    private String address;
    private String organizationId;
    private String organizationName;
    private String departmentId;
    private String departmentName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh_CN", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh_CN", timezone = "GMT+8")
    private Date endTime;
    private String operationCode;
    private String operationName;
    private String operationLevel;
    private String surgeryRoom;
    private String operatingTableNumber;
    private String surgeonDoctorId;
    private String surgeonDoctorName;
    private String secondSurgeonDoctorId;
    private String secondSurgeonDoctorName;
    private String operationAid;
    private String secondSurgeryAid;
    private String thirdSurgeryAid;
    private String internDoctorId;
    private String handWashingNurse;
    private String secondHandWashingNurse;
    private String itinerantNurse;
    private String secondItinerantNurse;
    private Integer bloodTransfusionsNumber;
    private String bloodTransfusionsBloodType;
    private String anesthesiaWayCode;
    private String anesthesiaWayName;
    private String preoperativeDiagnosisCode;
    private String preoperativeDiagnosis;
    private String postoperativeDiagnosisCode;
    private String postoperativeDiagnosis;
    private String diagnosisConsistent;
    private String operationIncisionDescription;
    private String operationIncisionHealLevel;
    private String operationProcess;
    private String recorder;
    private String satisfactionStatus;
    private int surveyNumber;
    private int finishNumber;
    private String companionName;
    private String companionRelationship;
    private String companionPhone;
    /**
     * 删除标志
     */
    private String deleteFlag;
    private Date createTime;
    private Date modifyTime;

    @Id
    @Column(name = "operation_record_id")
    public String getOperationRecordId() {
        return operationRecordId;
    }

    public void setOperationRecordId(String operationRecordId) {
        this.operationRecordId = operationRecordId;
    }

    @Basic
    @Column(name = "operation_number")
    public String getOperationNumber() {
        return operationNumber;
    }

    public void setOperationNumber(String operationNumber) {
        this.operationNumber = operationNumber;
    }

    @Basic
    @Column(name = "in_hospital_record_code")
    public String getInHospitalRecordCode() {
        return inHospitalRecordCode;
    }

    public void setInHospitalRecordCode(String inHospitalRecordCode) {
        this.inHospitalRecordCode = inHospitalRecordCode;
    }

    @Basic
    @Column(name = "business_type")
    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }
    @Basic
    @Column(name = "business_id")
    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    @Basic
    @Column(name = "visit_id")
    public String getVisitId() {
        return visitId;
    }

    public void setVisitId(String visitId) {
        this.visitId = visitId;
    }

    @Basic
    @Column(name = "patient_id")
    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    @Basic
    @Column(name = "patient_name")
    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    @Basic
    @Column(name = "patient_sex")
    public String getPatientSex() {
        return patientSex;
    }

    public void setPatientSex(String patientSex) {
        this.patientSex = patientSex;
    }

    @Basic
    @Column(name = "patient_age")
    public Byte getPatientAge() {
        return patientAge;
    }

    public void setPatientAge(Byte patientAge) {
        this.patientAge = patientAge;
    }

    @Basic
    @Column(name = "patient_birthday")
    public Date getPatientBirthday() {
        return patientBirthday;
    }

    public void setPatientBirthday(Date patientBirthday) {
        this.patientBirthday = patientBirthday;
    }

    @Basic
    @Column(name = "card_type")
    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    @Basic
    @Column(name = "card_number")
    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    @Basic
    @Column(name = "patient_medical_card_type")
    public String getPatientMedicalCardType() {
        return patientMedicalCardType;
    }

    public void setPatientMedicalCardType(String patientMedicalCardType) {
        this.patientMedicalCardType = patientMedicalCardType;
    }

    @Basic
    @Column(name = "patient_medical_card_number")
    public String getPatientMedicalCardNumber() {
        return patientMedicalCardNumber;
    }

    public void setPatientMedicalCardNumber(String patientMedicalCardNumber) {
        this.patientMedicalCardNumber = patientMedicalCardNumber;
    }

    @Basic
    @Column(name = "telephone")
    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Basic
    @Column(name = "address")
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Basic
    @Column(name = "organization_id")
    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    @Basic
    @Column(name = "organization_name")
    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    @Basic
    @Column(name = "department_id")
    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    @Basic
    @Column(name = "department_name")
    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    @Basic
    @Column(name = "start_time")
    public java.util.Date getStartTime() {
        return startTime;
    }

    public void setStartTime(java.util.Date startTime) {
        this.startTime = startTime;
    }

    @Basic
    @Column(name = "end_time")
    public java.util.Date getEndTime() {
        return endTime;
    }

    public void setEndTime(java.util.Date endTime) {
        this.endTime = endTime;
    }

    @Basic
    @Column(name = "operation_code")
    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    @Basic
    @Column(name = "operation_name")
    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    @Basic
    @Column(name = "operation_level")
    public String getOperationLevel() {
        return operationLevel;
    }

    public void setOperationLevel(String operationLevel) {
        this.operationLevel = operationLevel;
    }

    @Basic
    @Column(name = "surgery_room")
    public String getSurgeryRoom() {
        return surgeryRoom;
    }

    public void setSurgeryRoom(String surgeryRoom) {
        this.surgeryRoom = surgeryRoom;
    }

    @Basic
    @Column(name = "operating_table_number")
    public String getOperatingTableNumber() {
        return operatingTableNumber;
    }

    public void setOperatingTableNumber(String operatingTableNumber) {
        this.operatingTableNumber = operatingTableNumber;
    }

    @Basic
    @Column(name = "surgeon_doctor_id")
    public String getSurgeonDoctorId() {
        return surgeonDoctorId;
    }

    public void setSurgeonDoctorId(String surgeonDoctorId) {
        this.surgeonDoctorId = surgeonDoctorId;
    }

    @Basic
    @Column(name = "surgeon_doctor_name")
    public String getSurgeonDoctorName() {
        return surgeonDoctorName;
    }

    public void setSurgeonDoctorName(String surgeonDoctorName) {
        this.surgeonDoctorName = surgeonDoctorName;
    }

    @Basic
    @Column(name = "second_surgeon_doctor_id")
    public String getSecondSurgeonDoctorId() {
        return secondSurgeonDoctorId;
    }

    public void setSecondSurgeonDoctorId(String secondSurgeonDoctorId) {
        this.secondSurgeonDoctorId = secondSurgeonDoctorId;
    }

    @Basic
    @Column(name = "second_surgeon_doctor_name")
    public String getSecondSurgeonDoctorName() {
        return secondSurgeonDoctorName;
    }

    public void setSecondSurgeonDoctorName(String secondSurgeonDoctorName) {
        this.secondSurgeonDoctorName = secondSurgeonDoctorName;
    }

    @Basic
    @Column(name = "operation_aid")
    public String getOperationAid() {
        return operationAid;
    }

    public void setOperationAid(String operationAid) {
        this.operationAid = operationAid;
    }

    @Basic
    @Column(name = "second_surgery_aid")
    public String getSecondSurgeryAid() {
        return secondSurgeryAid;
    }

    public void setSecondSurgeryAid(String secondSurgeryAid) {
        this.secondSurgeryAid = secondSurgeryAid;
    }

    @Basic
    @Column(name = "third_surgery_aid")
    public String getThirdSurgeryAid() {
        return thirdSurgeryAid;
    }

    public void setThirdSurgeryAid(String thirdSurgeryAid) {
        this.thirdSurgeryAid = thirdSurgeryAid;
    }

    @Basic
    @Column(name = "intern_doctor_id")
    public String getInternDoctorId() {
        return internDoctorId;
    }

    public void setInternDoctorId(String internDoctorId) {
        this.internDoctorId = internDoctorId;
    }

    @Basic
    @Column(name = "hand_washing_nurse")
    public String getHandWashingNurse() {
        return handWashingNurse;
    }

    public void setHandWashingNurse(String handWashingNurse) {
        this.handWashingNurse = handWashingNurse;
    }

    @Basic
    @Column(name = "second_hand_washing_nurse")
    public String getSecondHandWashingNurse() {
        return secondHandWashingNurse;
    }

    public void setSecondHandWashingNurse(String secondHandWashingNurse) {
        this.secondHandWashingNurse = secondHandWashingNurse;
    }

    @Basic
    @Column(name = "itinerant_nurse")
    public String getItinerantNurse() {
        return itinerantNurse;
    }

    public void setItinerantNurse(String itinerantNurse) {
        this.itinerantNurse = itinerantNurse;
    }

    @Basic
    @Column(name = "second_itinerant_nurse")
    public String getSecondItinerantNurse() {
        return secondItinerantNurse;
    }

    public void setSecondItinerantNurse(String secondItinerantNurse) {
        this.secondItinerantNurse = secondItinerantNurse;
    }

    @Basic
    @Column(name = "blood_transfusions_number")
    public Integer getBloodTransfusionsNumber() {
        return bloodTransfusionsNumber;
    }

    public void setBloodTransfusionsNumber(Integer bloodTransfusionsNumber) {
        this.bloodTransfusionsNumber = bloodTransfusionsNumber;
    }

    @Basic
    @Column(name = "blood_transfusions_blood_type")
    public String getBloodTransfusionsBloodType() {
        return bloodTransfusionsBloodType;
    }

    public void setBloodTransfusionsBloodType(String bloodTransfusionsBloodType) {
        this.bloodTransfusionsBloodType = bloodTransfusionsBloodType;
    }

    @Basic
    @Column(name = "anesthesiaWayCode")
    public String getAnesthesiaWayCode() {
        return anesthesiaWayCode;
    }

    public void setAnesthesiaWayCode(String anesthesiaWayCode) {
        this.anesthesiaWayCode = anesthesiaWayCode;
    }

    @Basic
    @Column(name = "anesthesiaWayName")
    public String getAnesthesiaWayName() {
        return anesthesiaWayName;
    }

    public void setAnesthesiaWayName(String anesthesiaWayName) {
        this.anesthesiaWayName = anesthesiaWayName;
    }

    @Basic
    @Column(name = "preoperative_diagnosis_code")
    public String getPreoperativeDiagnosisCode() {
        return preoperativeDiagnosisCode;
    }

    public void setPreoperativeDiagnosisCode(String preoperativeDiagnosisCode) {
        this.preoperativeDiagnosisCode = preoperativeDiagnosisCode;
    }

    @Basic
    @Column(name = "preoperative_diagnosis")
    public String getPreoperativeDiagnosis() {
        return preoperativeDiagnosis;
    }

    public void setPreoperativeDiagnosis(String preoperativeDiagnosis) {
        this.preoperativeDiagnosis = preoperativeDiagnosis;
    }

    @Basic
    @Column(name = "postoperative_diagnosis_code")
    public String getPostoperativeDiagnosisCode() {
        return postoperativeDiagnosisCode;
    }

    public void setPostoperativeDiagnosisCode(String postoperativeDiagnosisCode) {
        this.postoperativeDiagnosisCode = postoperativeDiagnosisCode;
    }

    @Basic
    @Column(name = "postoperative_diagnosis")
    public String getPostoperativeDiagnosis() {
        return postoperativeDiagnosis;
    }

    public void setPostoperativeDiagnosis(String postoperativeDiagnosis) {
        this.postoperativeDiagnosis = postoperativeDiagnosis;
    }

    @Basic
    @Column(name = "diagnosis_consistent")
    public String getDiagnosisConsistent() {
        return diagnosisConsistent;
    }

    public void setDiagnosisConsistent(String diagnosisConsistent) {
        this.diagnosisConsistent = diagnosisConsistent;
    }

    @Basic
    @Column(name = "operation_incision_description")
    public String getOperationIncisionDescription() {
        return operationIncisionDescription;
    }

    public void setOperationIncisionDescription(String operationIncisionDescription) {
        this.operationIncisionDescription = operationIncisionDescription;
    }

    @Basic
    @Column(name = "operation_incision_heal_level")
    public String getOperationIncisionHealLevel() {
        return operationIncisionHealLevel;
    }

    public void setOperationIncisionHealLevel(String operationIncisionHealLevel) {
        this.operationIncisionHealLevel = operationIncisionHealLevel;
    }

    @Basic
    @Column(name = "operation_process")
    public String getOperationProcess() {
        return operationProcess;
    }

    public void setOperationProcess(String operationProcess) {
        this.operationProcess = operationProcess;
    }

    @Basic
    @Column(name = "recorder")
    public String getRecorder() {
        return recorder;
    }

    public void setRecorder(String recorder) {
        this.recorder = recorder;
    }

    @Basic
    @Column(name = "satisfaction_status")
    public String getSatisfactionStatus() {
        return satisfactionStatus;
    }

    public void setSatisfactionStatus(String satisfactionStatus) {
        this.satisfactionStatus = satisfactionStatus;
    }

    @Basic
    @Column(name = "survey_number")
    public int getSurveyNumber() {
        return surveyNumber;
    }

    public void setSurveyNumber(int surveyNumber) {
        this.surveyNumber = surveyNumber;
    }

    @Basic
    @Column(name = "finish_number")
    public int getFinishNumber() {
        return finishNumber;
    }

    public void setFinishNumber(int finishNumber) {
        this.finishNumber = finishNumber;
    }

    @Basic
    @Column(name = "companion_name")
    public String getCompanionName() {
        return companionName;
    }

    public void setCompanionName(String companionName) {
        this.companionName = companionName;
    }

    @Basic
    @Column(name = "companion_relationship")
    public String getCompanionRelationship() {
        return companionRelationship;
    }

    public void setCompanionRelationship(String companionRelationship) {
        this.companionRelationship = companionRelationship;
    }

    @Basic
    @Column(name = "companion_phone")
    public String getCompanionPhone() {
        return companionPhone;
    }

    public void setCompanionPhone(String companionPhone) {
        this.companionPhone = companionPhone;
    }

    @Basic
    @Column(name = "patient_age_text")
    public String getPatientAgeText() {
        return patientAgeText;
    }

    public void setPatientAgeText(String patientAgeText) {
        this.patientAgeText = patientAgeText;
    }
    @Basic
    @Column(name = "delete_flag")
    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }
    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "modify_time")
    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}